FigureShape.AddLine Method

Adds a straight line to the figure. X and Y are the starting coordinates; X2 and Y2 are the end coordinates.

Syntax

FigureShape.AddLine X, Y, X2, Y2

Parameters

X

Single

Y

Single

X2

Single

Y2

Single